package stack_queue.queue;

import stack_queue.queue.iml.LinkedQueue;

/**
 * @Author: wenjingyuan
 * @Date: 2022/09/28/17:32
 * @Description:
 */
public class QueueTest {
    public static void main(String[] args) {
        Queue queue=new LinkedQueue();
        queue.offer(1);
        queue.offer(2);
        queue.offer(3);
        System.out.println(queue);
        System.out.println(queue.peek());
        queue.poll();
        System.out.println(queue);
    }
}
